h1 {
  margin: 18px 0;
}

p {
  color: #6e6e6e;
}

.banner {
  width: 100%;
}

.banner img {
  width: 100%;
}

header {
  height: 80px;
}

nav {
  position: static;
}

.mid-layer {
  background-color: #f9f9f9;
}

.header {
  text-align: center;
}

.title {
  font-size: 50px;
  font-weight: lighter;
  color: #6e6e6e;
  padding-top: 30px;
}

.img-grid {
  display: grid;
  grid-template-columns: repeat(4, 255px);
  grid-template-rows: 170px;
  grid-gap: 20px;
  justify-content: center;
  margin: 50px 0;
}

.grid-item img {
  width: 255px;
  height: 170px;
  /* background-color: red; */
}

.grid-item a:hover img {
  filter: alpha(Opacity=70);
  -moz-opacity: 0.7;
  opacity: 0.7;
}

.grid-item a {
  display: block;
  width: 255px;
  height: 170px;
  background-color: #6e6e6e;
}

#motail {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  top: 0px;
  left: 0px;
  z-index: 1;
}

.motail-container {
  width: 720px;
  height: 480px;
  background-color: #f6f6f6;
  border-radius: 20px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#close {
  font-size: 40px;
  font-weight: bold;
  position: absolute;
  top: 5px;
  right: 2%;
  color: #6e6e6e;
}

.close:hover,
.close:focus {
  color: #bbb;
  cursor: pointer;
}

.motail-main {
  padding: 20px 30px;
}

#mo-img {
  display: block;
  margin: 10px;
  height: 150px;
  width: 225px;
}

#mo-title {
  position: relative;
  top: -110px;
  left: 350px;
  font-size: 40px;
  display: inline-block;
}

.mo-content {
  margin: 0 10px;
  font-size: 15px;
}

#captain {
  text-align: center;
  margin: 15px auto;
  width: 60%;
  max-height: 750px;
  font-size: 25px;
  color: #ccc;
}

@keyframes grad {
  from {
    transform: scale(0.1);
  }

  to {
    transform: scale(1);
  }
}